import type { RouteRecordRaw } from "vue-router";
import Props from "@/pages/01props/Father.vue";
import Event from "@/pages/02custom-event/Father.vue";
import Bus from "@/pages/03mitt/Father.vue";
import BusDemo2 from "@/pages/04emittTS/Father.vue";
import VModel from "@/pages/05vmodel/Father.vue";
import Attrs from "@/pages/06$attrs/Father.vue";
import RefsParent from "@/pages/07$refs_$parent/Father.vue";
import slotdemo from "@/pages/08slotlearn/Father.vue";
import slotdemo2 from "@/pages/09_slot_具名插槽/Father.vue";
import slotdemo3 from "@/pages/09_slot_作用域插槽/Father.vue";
import slotdemo4 from "@/pages/09_slot_默认插槽/Father.vue";

const PagesInfo:RouteRecordRaw[]=[
    {
        path:'/props',
        component:Props
    },
    {
        path:'/event',
        component:Event
    },
    {
        path:'/mitt',
        component:Bus
    },
    {
        path:'/mittts',
        component:BusDemo2
    },
    {
        path:'/model',
        component:VModel
    },
    {
        path:'/attrs',
        component:Attrs
    },
    {
        path:'/refs',
        component:RefsParent
    },
    {
        path:'/slot',
        component:slotdemo
    },
    {
        path:'/slotdemo2',
        component:slotdemo2
    },
    {
        path:'/slotdemo3',
        component:slotdemo3
    },
    {
        path:'/slotdemo4',
        component:slotdemo4
    }
];

export default PagesInfo;
